//
//  XMMineNavRightView.m
//  XunMi
//
//  Created by MacBook on 2024/2/19.
//  Copyright © 2024 TieZhu. All rights reserved.
//

#import "XMMineNavRightView.h"

@interface XMMineNavRightView ()

@property (nonatomic, copy) void(^moreBlock)(void);
@property (nonatomic, copy) void(^setBlock)(void);

@end

@implementation XMMineNavRightView

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)navRightViewMoreBlock:(void (^)(void))moreBlock setBlock:(void (^)(void))setBlock {
    _moreBlock = moreBlock;
    _setBlock = setBlock;
}

- (IBAction)more:(UIButton *)sender {
    if (self.moreBlock) {
        self.moreBlock();
    }
}

- (IBAction)set:(UIButton *)sender {
    if (self.setBlock) {
        self.setBlock();
    }
}

@end
